package com.yilin.tms.core.entity.message;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseDataEntity;
import com.yilin.tms.core.commons.annotation.Explain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 公告
 *
 * @author Administrator
 */
@Entity
@Table(name = "message_bulletin")
@TableName(value = "message_bulletin")
public class Bulletin extends BaseDataEntity {

    @Explain("标题")
    @Column(name = "title")
    private String title;
    @Explain("链接")
    @Column(name = "link")
    private String link;
    @Explain("内容")
    @Column(name = "content")
    private String content;
    @Explain("是否显示")
    @Column(name = "revealed")
    private Boolean revealed = false;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getRevealed() {
        return revealed;
    }

    public void setRevealed(Boolean revealed) {
        this.revealed = revealed;
    }
}
